package org.uim.cricket.analyzer.analyze;

import java.util.*;

import org.uim.cricket.entities.MatchPlayer;
import org.uim.cricket.entities.match.CricketMatch;

public interface PlayerInitializable {

	/**
	 * Creates a map containing all the players against their corresponding team.
	 * The keys in the map will be the team names and their values will be list of
	 * players represented that team.
	 * 
	 * @param inningsMapper The <code>InningMappable</code> object.
	 * @param match The match object.
	 * @return A map containing team names and players represented that team.
	 */
	public Map<String, List<MatchPlayer>> initMatchPlayers(InningMappable inningsMapper, CricketMatch match);
	
}
